import { useCookies } from '@vueuse/integrations/useCookies'
import { TAB_LIST_KEY } from '~/constant'
const cookies = useCookies()

// 获取tablist
export function getTabList() {
    const token = cookies.get(TAB_LIST_KEY)
    return token
}

// 设置token
export function setTabList(tablist) {
    cookies.set(TAB_LIST_KEY, tablist)
}